Callbacks


Collecting Picture Information

CalcColorTableProcPtr Defines a pointer to a color table calculation callback. Your color calculation callback selects as many colors as are requested by your application from the color bank for a picture or pixel map and then fills these colors into an array of ColorSpec structures.
DisposeColorPickMethodProcPtr Defines a pointer to a method disposal callback function. Your method disposal function releases the memory for the 'cpmt' resource allocated by your MyInitPickMethodCallback function.
InitPickMethodProcPtr Defines a pointer to a method initialization callback function. Your method initialization function specifies the color back and allocates whatever data your color-picking method needs.
RecordColorsProcPtr Defines a pointer to a color recording callback function. Your color recording function creates a color bank.

© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)